package com.leyou.item.pojo;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 商品分类和商品中间表
 */
@Table(name = "tb_category_brand")
public class CategoryBrand implements Serializable {
    private static final long serialVersionUID = 4996616433517537922L;
    private Long categoryId;  // 商品分裂id
    private Long brandId;     // 商品id

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }
}
